package start;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;

public class AppConfigC {
    @Bean(name = "aBean") @Scope(value = "prototype")
    public A aNull() {
        System.out.println("AppConfigC. aBean()");        
        return null;
    }
    @Bean(name = "aBean") @Scope(value = "prototype")
    public A a() {
        System.out.println("AppConfigC. a()");
        return new A();
    }

    
}
